<?php

require('/usr/local/php5/smarty/Smarty.class.php');
$smarty = new Smarty();

$smarty->template_dir = 'pages/templates';
$smarty->compile_dir = 'pages/templates_c';

$smarty->display('index.tpl');

?>